package com.zxx.order.injection.component

import com.zqq.baselibrary.injection.PerComponentScope
import com.zqq.baselibrary.injection.component.ActivityComponent
import com.zxx.order.injection.module.OrderModule
import com.zxx.order.ui.activity.OrderConfirmActivity
import com.zxx.order.ui.activity.OrderDetailActivity
import com.zxx.order.ui.fragment.OrderFragment
import dagger.Component

/**
 * 订单Component
 * wc
 * @author zqq on 2019/6/29.
 */
@PerComponentScope
@Component(dependencies = arrayOf(ActivityComponent::class),
        modules = arrayOf(OrderModule::class))
interface OrderComponent {

    fun inject(activity: OrderConfirmActivity)

    fun inject(fragment: OrderFragment)

    fun inject(activity: OrderDetailActivity)

}